package com.vancouver.knows.business.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Created by Chris Li on 2016-07-13.
 */
public class SubcategoryInfo implements Serializable {

    @JSONField(name = "name")
    private String name;
    @JSONField(name = "slug")
    private String slug;
    @JSONField(name = "count")
    private int count;
    @JSONField(name = "price")
    private float price;

    public SubcategoryInfo() {}

    public SubcategoryInfo(String name, String slug) {
        this.name = name;
        this.slug = slug;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSlug() {
        return slug;
    }

    public void setSlug(String slug) {
        this.slug = slug;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}
